package greentycoon.batiment.decharge;

import greentycoon.ville.Pollution;

public class CentreEnfouissementTechnique extends Decharge {

	/*Attributs*/
	public static final int sizeX =2;
	public static final int sizeY =2;
	public static final int prix = 1000;
	
	/*methodes*/
	public CentreEnfouissementTechnique(int x,int y)
	{
		prixEntretient=50;
		pollution= new Pollution();
		capaciteTotal = 15000;
		dechetStocke =0;
		posX = x;
		posY = y;
	}
	
	public Pollution computePollution()
	{
		pollution.setPollutionSol(15*(dechetStocke/capaciteTotal));
		return pollution;
	}
	
	public int getSizeX() {
		return sizeX;
	}

	public int getSizeY() {
		return sizeY;
	}


	
}
